package com.example.myweb.Service.Auth;

import com.example.myweb.Domain.Entity.User;
import com.example.myweb.Dto.FollowUserInfoDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface FollowService {
    void followUser(User currentUser, Long followedUserId);
    void unfollowUser(User currentUser, Long followedUserId);

    List<Long> getFollowingUserIds(User currentUser);

    Page<FollowUserInfoDTO> getFollowingList(User user, Pageable pageable, User currentUser);
    Page<FollowUserInfoDTO> getFollowerList(User user, Pageable pageable, User currentUser);
}